package com.bw.service.impl;

import com.bw.domain.Address;
import com.bw.mapper.AddressMapper;
import com.bw.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressServiceImpl implements AddressService {
    @Autowired
    private AddressMapper addressMapper;



    @Override
    public List<Address> GetAddressById(Integer id) {
        return addressMapper.getAddressById(id);
    }
}
